final source code for slide share (server and client code)