Migrated comment system to use database