I need to capture event after successful authentication and store the claims into cookie, can you please guide on this