Hide Facebook Connect if login


I use 2 widgets:
- "BuddyPress Login" to display user and password for login
- "Facebook Connect" to display a button to login with facebook

The thing is after login, they both display the user avatar with a loggout button.
So I want to have an option to hide the Facebook Connect widget if the user is loggin.

The following plugin can do it