sql tables

added a doc for the format of sql tables
also minor change to fb_login.js