Rather than logging the user out, it would be better to automatically log the user in again - and retry the previous operation (if possible). Might need to see if this is practical in terms of multiple async requests etc.