optimize check for admin status on dashboard