admin to db