corrected user check