All sorts of stuff with both the server and client