add modify password logic