Added the logic for FB login.