Adding badges to the database