bug fix- add before action to every controler for fixing cancan bug