Can now retrieve tokens, and properly check for expired ones