facebook token auth and major cleanup