corrected temporary user check