Adds login required filter