Modified to render index on save error, tweaked css