Added the edit page with flash messages to show if an item gets edited