Message flashing

Use message flashing instead of rerendering templates constantly