adds filter to controller
Merge pull request #23 from jonarnaldo/master

adds filter to controller