Added max login filter