Adding new functionalities to WOZ, also adding session invalidation
when session expires