Implemented Cancan and basic roles. fixed bugs with Vagmis help.