I have added some code to operate the database.

I created a new class to operate database. And adding several code to
make shopping cart and changing password to come true. However I do not
know you guys how to make database come true!