Added flash messages, directive for form submit and more...