[#818] Add `UserRolePayload` to create and retrieve `UserRole` functions

* Check whether roles are assigned to a user before deleting