take -u and -p params