If I plug in the facebook connect into my website, How can I prevent double signups?

Lets say I have a user that's already signed up to my site but he clicked the connect with facebook, is there a way to track it and redirect the login to his already existing account?