Fix for user role assignment