url redirect now functioning
removed unnecessary code