Fixed setup to use command-line arguments

Setup does not actually use the commandline arguments as 

*  The `userName`,`password` and `sleepTime` variables are not updated in the global namespace
* The `url` is not updated after taking the `userName` and `password` from the args

Fixed these issues.