added devise coding for deploying to Heroku