Added flash message for successful saves or unsuccesful saves