default layout supports redirecting
removed browser warning code