pass in id param for details page