Added more logic API endpoints