Clearing session, JSON persistance