Addes login and index pages