added destroy method to authInternalService class with tests