Facebook says 50 million accounts affected by security breach