Add loggedin filter