adding password as parameter