Changed redirect to render to show validation