updating server code to work with Heroku
v0.11.5