adds category description to loan search page
fixes bug in category details function