ajax works to delete favorites, favorites are displayed on profile page