Fix bug when entering the wrong username