add ability to select a category when submitting a resource