American consumers felt more confident in August as their outlook for the future improved.