added username parameter to config file