facebook authentication - google +authentication - refactoring