defining user, category