Adding categories endpoint