Added creation validation and flash messaging