add python dict function:user,password function