add BaseHandler and language cookie