cleaning up checkin view controller code a bit.