code: def r_oauth_logout(self):
          
          session.pop('oauth_user_uri', None)
          session.pop('oauth_user_name', None)
          next = request.args.get('next','')
          if next is not None:
              return redirect(session['next'])
          else:
              return {
                  "template": "main::index.html"
              }
docs: Route to clear the oauth data from the session
          :return: {"template"}