Essays in dynamic contracts under lack of commitment