authentication and logging to mongodb added; styling; documentation