Adds User Context to Action Button Events

Action button events now include the user who triggered them, specifying both their type (staff or patient) and ID (key) in the event context. Additionally, when determining whether to show an action button, the event context now includes the user loading the page.