Invalid username bug fix