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 admin new instead of a rank.