fixed login and logout routing from localhost to heroku