added login filter