Added basic workflow for registration