Initial support for element render

Fixed Cookie and Session warnings