I want to check if a customer is logged-In or logged-out on fronted store, and save that customer status in a custom table and that status update whenever a customer logged-In and logged-out in that table.