reorganized view template structure, redesigned login page, turned on admin priveledge checking