fixing devise preoblems when deploying to heroku