Added getPassword method