"generate profile" now has CSRF protection (see #23)