Mot so fast MAS read about pilot logbooks:
14CFR61.51(C)(2)(d) Logging of solo flight time. Except for a student pilot performing the duties of pilot in command of an airship requiring more than one pilot flight crewmember, a pilot may log as solo flight time only that flight time when the pilot is the sole occupant of the aircraft.
and the requirements for the Commercial Rating Aeronautical Experience:
14CFR61.129(A)(4) 10 hours of solo flight in a single-engine airplane on the areas of operation listed in Sec. 61.127(b)(1) of this part, which includes at least--
(i) One cross-country flight of not less than 300 nautical miles total distance, with landings at a minimum of three points, one of which is a straight-line distance of at least 250 nautical miles from the original departure point. However, if this requirement is being met in Hawaii, the longest segment need only have a straight-line distance of at least 150 nautical miles; and
(ii) 5 hours in night VFR conditions with 10 takeoffs and 10 landings (with each landing involving a flight in the traffic pattern) at an airport with an operating control tower.
Although when you get your private pilot certificate, you can you can carry passengers, there still are times you can log solo time and times when you MUST log solo time