tied user to profile and state endpoints