add logic to handle details; add mock detail page.