logInModel - corrected