Created a Constraints final class with static methods to check username
and password of new users for their validity. 
userName takes in a String and checks if there is something before and
after the @ symbol in an email address 
password at this point in time takes in a String and checks if the
password contains only alphanumeric characters