updated userRoles
remove get_object_vars from isExist function