Implemented mongoose oauth2 model