Added Registration functionality