tested endpoint registration and authorization - ready to merge