Cookie JS replaced; logout notification added