I'm not sure if I understand your question.
To work with AxonIvy workflows and tasks in AxonIvy you use the Portal app or one of the WorkflowUis that are povided with the AxonIvy Engine Installation. All of them contain login/logout capabilities to control user sessions. But you can also provide an own dialog form to enter Name and Password credentials and call the login API functions.