added config file ; get/set login info ; added some command options