fix 500 errors on user role…request does not have the attr user
Merge pull request #2618 from dimagi/roles-500-fix

fix 500 errors on user role…request does not have the attr user