Move url compare to utils