flash errors array implemented to inform user of either a duplicate email ID or an inconsistent pass confirmation