Made canvas controller interact with server