Facebook and bug fixes

Facebook connect works and table assertion bug fixed