full complete login check

complete login check and correlation functions.