#488 Added permission management to user accounts (so users can revoke access to 3rd party applications)