Add change password function in mongo