working local and facebook auth