Lectures on the many-electron problem