added session to locals; pretty html