Made cookies non http. Added logout