Added secure authentication and a basic login screen. The registration
page redirects to the login page.