fixes deprecated error, and isntall social auth