added google and twitter auth support