Added connect, disconnect, join to castservice