able to connect to MongoDB to get user information