Service registration
Api function