make the login work