Add github and google social auth, refactor local auth, config updates