working with the login