cleanup & UI (login/out)