added deleteUser method and test