Added NODE_ENV variables

Production still needs to be fixed by using external session storage.