Register GUI fixed the problem of creating user with an empty username