Updated for Facebook auth.