add mongo
broke login out into lib
mongo login commit