login and authorization finished