Add authentication before filter.