added favorites functionality to other pages