turned on ability to read category model for cancan to fix looping problem
update categories controller and ability.rb file for cancan