Added registration scene and completed its functions.