Added support for custom configuration
Refactored user API service with support for persistent profile