Prepared security against CSRF attacks