Adds test to check for downcasing of User email in db
Refactors User model
Merge branch 'sample_app'
Merge branch 'sample_app'
Merge branch 'sample_app'
Adds size restriction to gravatar pictures
Adds testing for error messages in user signup
Adds test for appearane of flash message in user signup
Refactors layous/application