corrected login error for nil class users