handling a basic POST request on submit

- has the parsing of the form data on the client
- sending the POST request to the server with the form data represented
as a JSON object
- parsing the data on the server and logging to output in server
- returning success data to the client upon successful submission

todo: still need to actually store in a database on the server side