category chosing integrated with the web api