Debugging commit.

For some reason the DB tool from defuze is not working. It works when I manually
tried the login operations right?

Also added logs and added the db config structure sample in main.py.
Found a way aroud the problem where cherrypy.request.db is not initialized.

However, we are back to the old unbound error problem. Wonder... :|