Fixed null reference if user is signed out