code: def get_user_info(self):
          
          try:
              user_id = "org.couchdb.user:"+self.resource.credentials[0]
          except TypeError:
              raise RuntimeError(
                  "Please log in before trying to access your user's info"
              )
          status, _, body = self["_users"].resource.get_json(user_id)
          if status != 200:
              raise RuntimeError(
                  "Failed to get user info"
              )
          return body
docs: Returns the document representing the currently logged in user on the
          server