implemented passing data from initial view to tableviewcontroller