implement card view page