Getting user geolocation and storing it in cookie