Adding presence validation to User class
Adds email format validation
Adds an index to database for email attribute to make it actually unique