modifying it to ask the passwd