refactored and added name to sign up