Update the user_data_persistor and sessions controller to handle messages of type either notice or warning instead of assuming they will always be of type notice.