Consolidating login and register pages to one page.