added custom functionality for open id connect