allow logging out, enable debug