Save user data in MongoDB