Added facebook endpoints

Made a lot of changes to the database.