fixing social authentication