added flash message after creating an article