added messages to base template