modelizing the webclient for the show and index actions