simple registration endpoint