(feat) added logic to connect to the hackernews firebase db.