add password input
fix snippet