User Roles panel refactoring to minimize server calls and bug fixes.