divide client from server