user model
user validation
email validation
added email index to avoid full scan
added password authentication
db
merge
added validation tests for email length, and saved to db as downcase