updating login page and error pages