changed render new to redirect_to new