fixed page generation to use css and have logout info