Added ability to expire sessions