created post handler for person