handling category and subsection without session keys