adding CookieAcessor and MailConfig classes