made some style changes and hooked up the post route