changed login config structure