Client and server communication using signal