Added loading categories to index page and view-question page