In some economy, individuals live for two periods (periods 1 and 2). An individual works in the first period and earns an income of $wL$, with $L$ representing the proportion of the day worked. In the second period, which can be thought of as retirement, the individual consumes the remainder of their savings. Lifetime utility is given by:
$U=log(c_1)+log(c_2)+log(1-L)$
The question is asking to solve for optimal consumption in each period, and the optimal work effort.
I started by writing the budget constraints for each period:
Period 1
$c_1+s=wL$, with $s$ being savings
Period 2
$c_2=s(1+r)$, with $r$ being the interest rate
Intertemporal budget constraint
$c_1+\frac{c_2}{(1+r)}=wL$
To maximise utility from consumption, I would normally just optimise for $c_1$ and $c_2$ subject to the intertemporal budget constraint. However, I don't know what to do with the $log(1-L)$ element in the original lifetime utility function. Any pointers would be appreciated, and sorry for the elementary nature of this question.