finished hci old database conversion scritp, a bunch of fixes related to admin page