Adding searching and sorting to sessions page.