added devise and Heroku/pg changes