adds possibility to show a message on the base template
catches elastic exception if index does not exist