Added sending response to client