Learning :flash and error handling as well as validation.