implementing login for facebook, google+, linkedid and twitter (2)