add ttl to session model