added function addSport() to database.js