changed the login and other type pages with form