added validation for sign up