fixed registration, username wasnt being set on packets