add regist api