switching to express and only responding to post requests