fixing mis-named params method
adding required toggle to body params