add todos and modify the show page logic