Implemented TokenStore using cookies