fix: no call undefined function (window.contains)
dez: move <loging ON/OFF buttons> to top
upd: split log on logoff