updated the logout call back and use that to update patient login event [Finishes: #71056114]