add add_trainer method to ui.rb