Entry deletion, adding new entries and session set to cookies