Added host flag and guest states to local user