added month based expiration

Added functionality to support cookie expiration in months.