adding the login stuff