Changed mapping for login and main page.