Changed route configurations and added cancel url for buttons