fixed a bug: user credentials were not taken from the commandline