adding the database code
composer