added login custom, URL on the command line is given priority if both specified