added messages to template
added debug toolbar