Environment Variables for MongoDB URI
Uses local MongoDB when no envronment variables MONGOLAB_URI or MONGOHQ_URI are set
Inserts into MongoDB only if login submit is successful
config.js is no longer necessary