Added delete function for user management