Adds CSRF and flake8