figured out how to structure formdata xmlhttprequest