login page and main page are added.