Added URL redirect functionality