Configuring session to use MongoDB and cleaning up environment variable names