Add some status checking to help in debugging, and quit if we don't have a valid user id