Application structure rethought; improved main page, login page, register page.