added filter to app controller