fixes login/logout btns