search working, when viewing course it needs to have a category