Logout & check session. Closes #8. Closes #9