added argument handling to process username and password from the command line