Completed adding functionality for user sign up