Added availability check to getUserbyNumber()