login_implementation