added server-side

polishing server, then working on client