fixing devise integration issues on heroku