adding functions to tenantinterface and adding layout to systeminterface