upgrade rails to 4.0.2
refactor gravatar on user edit
refactor user show
improve xs size for home page
extract auth_provider partial