My requirement is to generate unique code for each login session which will be used throughout the application cycle. But it should be generated only once after clicking a b