added basic mongo functionality: users can register/login with basic user & password fields