Rest api refactored for improving architecture - brand_detail page