changed renders to redirects so notices would work