Refactoring Categories Page