Add function in app.js for handling registration of new users.
Create template for logging in to site. Create login form handler.
Add server-side component for handling login event.