added the leave application controller and simple view #5