add registration to user api