started adding flash messages in template (wip)