delete user permission function