Updated user_roles to include an optional search realm

Addresses issue #26