Sinatra+MongoDB with User model and login signup functionality along with Oauth2