Add logout to notebook view