Added authentication for Mongo, and hashing of timestamp