fetch category from the server