add uid cookie