Added db_getUserPref function
Added GET listings API
Added preferences API
Added profile endpoint
Added static endpoint
Added insert and update SQL methods
Added register endpoint
Added delete method to SQL