Renamed username to user due to variable visibility