creating POST route to categories following HTTP protocol pattern