a bunch of work on admin pages