allow user to log out. Fixes #80