Added dynamic url lookup from template (reverseurlmatch). Messages not hardcoded anymore.