Add authentication check filter