added flight and train detail views with functionality