add register endpoint
count assignment points bug