Change functionality of back button, and format of links
add back legacy url support