show a details page when a url with a valid id is loaded