Add index to users email, validation tests for user model