Restricting user entering previously used username

Restricting user entering previously used username and email id