Added ctx option to isloggedin/isnotloggedin output filters