this one is called from userTrainingController on client with ajax call