added service configuration for automatic login