Added DoLogout to functions.php to process logout.
Cleaned up errors in checkin/checkout functions, added test to capture "invalid" returned from getters and redirect to login.
Added DoLogout to automatically logout session when timer is tripped for session timeout.
Added DoLogout to getters to trigger on session timeout, also return "invalid" when session timesout so page can be redirected to login.