used AbstractController + added redirect if show id is null
search functionnality implemented