added logout confirmation modal, started cleaning up compare