Added CSRF Token to be sent via cookie on calls to the mainpage.