working on front-end validation for user email and phone numbers