login and authorization has been assigned to the user class