Implement the login and signup