#250 imporve vanity profile url performance
uesd authorization management in events controller with cancan
add test code about authorization management with event
delete some method in event controller because they are no used
change some test code because event controller used `cancan` now
Merge pull request #253 from xiaods/feature/250-refine-vanity-profile-url

 #250 imporve vanity profile url performance
Merge branch 'issues_245' of git://github.com/ywjno/19wu into ywjno-issues_245
use cancan to check user ablity. close #245
Merge pull request #256 from ywjno/issues_245

issues_245_uesd_cancan
Merge branch 'master' into saberma-enhancement/256-use-cancan-to-check-ablity