changed validate password