google plus login and facebook login divided into two classes with same interfaces