whitespace
add more generic error handling for additional error cases
purge sessions when they fail to be looked up