added api user registration