getting journey id from the url to search in DB