Added flash notices, validates, and links