Added isSlave method. Changed return codes to plain 404's for false