Server sends index to the client