Adding options logger and optional domain

This provides the ability to know when users have returned and also control the level of the cookie.