readded the check for confirmed users