added scopes to registrar fixes #17