Recieving messages from the client works