Working on sync page and register to communicate with the server.