Created variables for 'users' and 'trials' before inserting into db