migrate hunk to official controller, make hunk jsp to send via ajax post.