Add logout button, fixes #200