add check for deleting user