added a categories controller with index page