Added database operation debugging messages for server.
1. Added more database debugging message for server side.
2. Updated DOM element generator function for client side.