Added invalid message when passwords do not match