added html ending to redirect