fix logged in detection for new pw page