Add cancancan functionalities. Close #48