remove smarty dependency on openm-id controller