ADMIN
+ implement some database functions