Session expiration

Closes #155