check if user is nil