Merge pull request #50 from azai91/(bug)server

(bug)use router so user can do post request
(bug)posts uses socket