I am trying on member login function. How can I prevent user enter the same value, for example:

If someone is already register the email "jackson@hotmail.com", then the system should prevent others from register the same email address.

Or the username and etc.

How should I achieve that?