Another attempt at checking the JSON data loaded for session.