add the homePage and select Card logic