fixed login for heroku