tested loginChecker