Backend changes in preparation of saving of trial information

Post commit code review : Chezka Arevalo