make cancan check_authorization work

authorize! sets an instance variable in the controller which later can be used to check if authorization was performed
Merge pull request #308 from ssendev/patch-1

make cancan check_authorization work