Added sequence to server, updated client to use sequence