Adding register user to API