Generate user model
Install 'annotate' gem and annotate model
Add simple example to user spec
Add validation for presence of name and email address
Add more validations for name and email to user model. Create unique database index for email.
Add secure password and basic authentication to user model
Test email downcasing
Add alternative before_save method