adding uniqueness of email and correcting typo