code cleanup on checkouts controller

Signed-off-by: William Rockwood <wrockwood@tadl.org>