Implemented sign up and log in