Adds some views and logic for registering; adds a DB.