Changing how username is escaped to allow the use of the raw variable.