added favorites and add media page, tests