AUTH api updates and calculate endspoints