wip
added categories and users nbb functions