Code refactoring for /categories/:id/webapps