abstracted host url to app.host or app.get('host')