adding client and server