get current infolevel and chosen categories from database