configuring server as per heroku