Removed unused username variable