merging trainer and user tables