switching to the server