changed code to work rvm with nginx
Upgrade to Devise and Cancan