loginsession filter fix