added email and first name validations for registration page