fixed issue with sending emails from Heroku
Heroku port issue fixed
fixes in user update/remove error handling