set the status listener to onConnected