Added flash errors for non-matching passwords