Sorting out messaging and oauth error handling