refresh functionality and search for return trip