Refactored callbacks
Implemented callbacks in PersistentManager
Implemented cookie expiration methods