get userid from username, get categories by userid