Implemented sign up validation