Sanitization, Validation, Functions on Contact Form

Sanitization and Validation of user inputs
Creating functions to run duplicate code