text as user identifier

  
I have an extension that returns the email id of user to application. I need to authenticate if this user id is a registered user.Is there any way to achieve this?
The User Entity has the email of registered users. You only need to search (case insensitive) for that email address and check if the user is active.