starting server and client