added before filters
Merge pull request #20 from Fattouh92/mohamed

added before filters