added categories endpoint