fill the details to search a train