storage of token implemented