Fix bug application (related username is email