Methods added for validating user signup process
Regex Validation
Class added to keep security related codes separate