Adds registration form and index for API server