added loginchecker