Added unique index to slug
Added flash() and UI enhancements