changed redirects to renders