working on logging.  trying to log to mongo, but not working yet in production