Update .env to work with MongoHQ; also fix routing and error messaging