login visibility bug fix