Added basic clientside POST functionality
Fixed some typos in routes.js