Defining users and roles in realm.
Name refactoring. Exception handling. Checking @RunAs, @PermitAll, RolesAllowed.