save token to session until db is ready