Added validation for delete user