Removed facebook table
Changed facebookID to userID
Removed legacy function
Added missing setter functions
Implemented current database accessing layer API
Removed legacy function call