add the login and register