changed redirect so alert comes up