Fix to username error element stuff and the register method.