moved config related login into utils #30