Db model for admin operations completed, time to create db functions