handle nil value case in github login display