More work on logging in and default page.