refs #18. Added Post handler function