Changed function name from createUser to signup.