logout impl, keyboard focus bug, crash fix