Moved flash message and added form to index