Merge pull request #1 from cktricky/master

Added the rvmrc and Gemfile
Properly update passwords
Simpler SQL query
Add CSRF example