Sync functions for endpoints and auth