adding documentation for withCredentials option