change user controller to fix heroku issue