fixed location in trip controller
added edit locations and location link in layout