Social authentication and better db settings