Added log function for previous user roles and pum_account_checkrole function