added whereHas query to category
job belongs to a category
made a category model