minor code fix
setting up authentication in mongodb... logging for debugging...