remove old CreditSetting schema namespace
fix a TODO in invites page
add a helper method in CreditSettingQuery table
use helper method from CreditSettingQuery table