Added csrf protection to rangewizard