storing user profile on MongoDB