update authentication filter
update authentication method, triggered only when required