Added inter-communication between controller and server.