workin ;ogin with mongo