update rails and gem file
add validation for users
add index to user model
prevent duplicate emails and downcase all database entries
add tests to user spec for password
finish basic User model