db and admin setup