login filter and authentication filter works properly