limit routes for resources to those actions actually present in controller
try alternative route to home
move getting categories from view to controller