Updated Foundation to version 5.
Added User restrictions to Agents, Templates and Integrations.
Added Events.
Started web app UI work.