added some basic cookie functionality for mock login