Adding filterPost & filterGet methods to controller