finish webbbs project:
    1. correct some errors of database.py file;
    2. finish the second implement;