Finished v1 of the signup function and added all signup code to mongo adapter