Store iat sessions in database through API