added realm endpoint, fixes #65