Moved account securityclient  to resource service. Fixed has clearing error.