solves deprecation warnings and solves social auth issues

solves deprecation warnings and solves social auth issues