EA, Facebook sign 5-year deal