add server post handler