Stopped error message when logging out - Fixes #14.