Connect FB to database