Fix admin db

Fix admin db

Fixed some issues with the DB admin system
-erro_admin_ranks table did not exist
-passing a string in to new admin instead of a rank.