added uniqueness for password and email