cahnged fb user handling method in db.js