upgraded the login page and post page