add a client functionality linked with webpage