Fixed admin security issue. added admin cookies.