Added product details and user details pages ad logic