login tests
merged mongo support