Adding Token class and expiration time