creating cars into the database and showing them on the index page