Theoretical studies of molecule-based magnetic conductors