wrote in POST handler

removed everything besides POST and GET, since that's what we're
focusing on for this project.