added option parameter for isPassword
updated mobile doc