Removed duplicate #main from markup, csrf meta change so page is w3c valid